# -*- coding: utf-8 -*-

###########################################################################
## Python code generated with wxFormBuilder (version Aug 13 2019)
## http://www.wxformbuilder.org/
##
## PLEASE DO *NOT* EDIT THIS FILE!
###########################################################################

import wx
import wx.xrc
import wx.dataview

###########################################################################
## Class UI
###########################################################################

class UI ( wx.Frame ):

	def __init__( self, parent ):
		wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = wx.EmptyString, pos = wx.DefaultPosition, size = wx.Size( 830,757 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL )

		self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )

		fgSizer34 = wx.FlexGridSizer( 0, 2, 0, 0 )
		fgSizer34.SetFlexibleDirection( wx.BOTH )
		fgSizer34.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.m_notebook1 = wx.Notebook( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, 0 )
		self.CAN卡页 = wx.Panel( self.m_notebook1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		fgSizer1 = wx.FlexGridSizer( 4, 1, 0, 0 )
		fgSizer1.SetFlexibleDirection( wx.BOTH )
		fgSizer1.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		fgSizer19 = wx.FlexGridSizer( 1, 3, 0, 0 )
		fgSizer19.SetFlexibleDirection( wx.BOTH )
		fgSizer19.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		CAN卡Choices = [ u"virtual", u"vector", u"nican", u"Zlg-E" ]
		self.CAN卡 = wx.Choice( self.CAN卡页, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, CAN卡Choices, 0 )
		self.CAN卡.SetSelection( 0 )
		fgSizer19.Add( self.CAN卡, 0, wx.ALL, 5 )

		m_choice11Choices = []
		self.m_choice11 = wx.Choice( self.CAN卡页, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, m_choice11Choices, 0 )
		self.m_choice11.SetSelection( 0 )
		fgSizer19.Add( self.m_choice11, 0, wx.ALL, 5 )

		self.m_button_open_can = wx.Button( self.CAN卡页, wx.ID_ANY, u"open can", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer19.Add( self.m_button_open_can, 0, wx.ALL, 5 )


		fgSizer1.Add( fgSizer19, 1, wx.EXPAND, 5 )

		fgSizer201 = wx.FlexGridSizer( 0, 2, 0, 0 )
		fgSizer201.SetFlexibleDirection( wx.BOTH )
		fgSizer201.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.m_textCtrl2 = wx.TextCtrl( self.CAN卡页, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.Size( 200,-1 ), 0 )
		fgSizer201.Add( self.m_textCtrl2, 0, wx.ALL, 5 )

		self.m_button12 = wx.Button( self.CAN卡页, wx.ID_ANY, u"发送", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer201.Add( self.m_button12, 0, wx.ALL, 5 )


		fgSizer1.Add( fgSizer201, 1, wx.EXPAND, 5 )

		fgSizer20 = wx.FlexGridSizer( 0, 2, 0, 0 )
		fgSizer20.SetFlexibleDirection( wx.BOTH )
		fgSizer20.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.DBC = wx.FilePickerCtrl( self.CAN卡页, wx.ID_ANY, u"D:\\sw\\wxFormBuilder\\libstdc++-6.dll", u"Select a file", u"*.dbc", wx.DefaultPosition, wx.Size( 300,-1 ), wx.FLP_DEFAULT_STYLE )
		fgSizer20.Add( self.DBC, 0, wx.ALL, 5 )


		fgSizer1.Add( fgSizer20, 1, wx.EXPAND, 5 )

		fgSizer25 = wx.FlexGridSizer( 0, 2, 0, 0 )
		fgSizer25.SetFlexibleDirection( wx.BOTH )
		fgSizer25.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.TestButton = wx.Button( self.CAN卡页, wx.ID_ANY, u"仿真测试", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer25.Add( self.TestButton, 0, wx.ALL, 5 )

		self.TestButton1 = wx.Button( self.CAN卡页, wx.ID_ANY, u"ESC测试", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer25.Add( self.TestButton1, 0, wx.ALL, 5 )


		fgSizer1.Add( fgSizer25, 1, wx.EXPAND, 5 )


		self.CAN卡页.SetSizer( fgSizer1 )
		self.CAN卡页.Layout()
		fgSizer1.Fit( self.CAN卡页 )
		self.m_notebook1.AddPage( self.CAN卡页, u"CAN卡", True )
		self.诊断页 = wx.Panel( self.m_notebook1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		self.诊断页.SetMinSize( wx.Size( -1,200 ) )

		fgSizer14 = wx.FlexGridSizer( 2, 1, 0, 0 )
		fgSizer14.SetFlexibleDirection( wx.BOTH )
		fgSizer14.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		fgSizer21 = wx.FlexGridSizer( 0, 3, 0, 0 )
		fgSizer21.SetFlexibleDirection( wx.BOTH )
		fgSizer21.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.车型选择页 = wx.Panel( self.诊断页, wx.ID_ANY, wx.DefaultPosition, wx.Size( 100,-1 ), wx.TAB_TRAVERSAL )
		fgSizer1121 = wx.FlexGridSizer( 3, 1, 0, 0 )
		fgSizer1121.SetFlexibleDirection( wx.BOTH )
		fgSizer1121.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		公司Choices = []
		self.公司 = wx.Choice( self.车型选择页, wx.ID_ANY, wx.DefaultPosition, wx.Size( 100,-1 ), 公司Choices, 0 )
		self.公司.SetSelection( 0 )
		fgSizer1121.Add( self.公司, 0, wx.ALL, 5 )

		车型Choices = []
		self.车型 = wx.Choice( self.车型选择页, wx.ID_ANY, wx.DefaultPosition, wx.Size( 100,-1 ), 车型Choices, 0 )
		self.车型.SetSelection( 0 )
		fgSizer1121.Add( self.车型, 0, wx.ALL, 5 )

		控制器Choices = []
		self.控制器 = wx.Choice( self.车型选择页, wx.ID_ANY, wx.DefaultPosition, wx.Size( 100,-1 ), 控制器Choices, 0 )
		self.控制器.SetSelection( 0 )
		fgSizer1121.Add( self.控制器, 0, wx.ALL, 5 )


		self.车型选择页.SetSizer( fgSizer1121 )
		self.车型选择页.Layout()
		fgSizer21.Add( self.车型选择页, 1, wx.EXPAND |wx.ALL, 5 )

		self.m_notebook11 = wx.Notebook( self.诊断页, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, 0 )
		self.EpsTab = wx.Panel( self.m_notebook11, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		fgSizer112 = wx.FlexGridSizer( 2, 1, 0, 0 )
		fgSizer112.SetFlexibleDirection( wx.BOTH )
		fgSizer112.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		fgSizer1111 = wx.FlexGridSizer( 2, 2, 0, 0 )
		fgSizer1111.SetFlexibleDirection( wx.BOTH )
		fgSizer1111.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.UnlockEcuBt1 = wx.Button( self.EpsTab, wx.ID_ANY, u"零位标定", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer1111.Add( self.UnlockEcuBt1, 0, wx.ALL, 5 )


		fgSizer112.Add( fgSizer1111, 1, wx.EXPAND, 5 )

		fgSizer222 = wx.FlexGridSizer( 2, 1, 0, 0 )
		fgSizer222.SetFlexibleDirection( wx.BOTH )
		fgSizer222.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.filePicker_EpsApp = wx.FilePickerCtrl( self.EpsTab, wx.ID_ANY, wx.EmptyString, u"App文件", u"*.*", wx.DefaultPosition, wx.DefaultSize, wx.FLP_DEFAULT_STYLE )
		fgSizer222.Add( self.filePicker_EpsApp, 0, wx.ALL, 5 )

		self.m_staticText11 = wx.StaticText( self.EpsTab, wx.ID_ANY, u"刷写:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText11.Wrap( -1 )

		fgSizer222.Add( self.m_staticText11, 0, wx.ALL, 5 )


		fgSizer112.Add( fgSizer222, 1, wx.EXPAND, 5 )


		self.EpsTab.SetSizer( fgSizer112 )
		self.EpsTab.Layout()
		fgSizer112.Fit( self.EpsTab )
		self.m_notebook11.AddPage( self.EpsTab, u"EPS", True )
		self.EscTab = wx.Panel( self.m_notebook11, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		fgSizer12 = wx.FlexGridSizer( 2, 1, 0, 0 )
		fgSizer12.SetFlexibleDirection( wx.BOTH )
		fgSizer12.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		fgSizer11121 = wx.FlexGridSizer( 2, 2, 0, 0 )
		fgSizer11121.SetFlexibleDirection( wx.BOTH )
		fgSizer11121.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.session1 = wx.Button( self.EscTab, wx.ID_ANY, u"传感器标零", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer11121.Add( self.session1, 0, wx.ALL, 5 )

		self.session11 = wx.Button( self.EscTab, wx.ID_ANY, u"传感器标零", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer11121.Add( self.session11, 0, wx.ALL, 5 )


		fgSizer12.Add( fgSizer11121, 1, wx.EXPAND, 5 )

		fgSizer26 = wx.FlexGridSizer( 4, 1, 0, 0 )
		fgSizer26.SetFlexibleDirection( wx.BOTH )
		fgSizer26.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.filePicker_EscConfig = wx.FilePickerCtrl( self.EscTab, wx.ID_ANY, wx.EmptyString, u"ECU配置文件", u"*.json", wx.DefaultPosition, wx.DefaultSize, wx.FLP_DEFAULT_STYLE )
		fgSizer26.Add( self.filePicker_EscConfig, 0, wx.ALL, 5 )

		self.filePicker_EscBoot = wx.FilePickerCtrl( self.EscTab, wx.ID_ANY, wx.EmptyString, u"Boot文件", u"*.elf;*.hex;*.s19;*.bin", wx.DefaultPosition, wx.DefaultSize, wx.FLP_DEFAULT_STYLE )
		fgSizer26.Add( self.filePicker_EscBoot, 0, wx.ALL, 5 )

		self.filePicker_EscApp = wx.FilePickerCtrl( self.EscTab, wx.ID_ANY, wx.EmptyString, u"App文件", u"*.elf;*.hex;*.s19;*.bin", wx.DefaultPosition, wx.DefaultSize, wx.FLP_DEFAULT_STYLE )
		fgSizer26.Add( self.filePicker_EscApp, 0, wx.ALL, 5 )

		self.m_staticText1 = wx.StaticText( self.EscTab, wx.ID_ANY, u"刷写:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText1.Wrap( -1 )

		fgSizer26.Add( self.m_staticText1, 0, wx.ALL, 5 )


		fgSizer12.Add( fgSizer26, 1, wx.EXPAND, 5 )


		self.EscTab.SetSizer( fgSizer12 )
		self.EscTab.Layout()
		fgSizer12.Fit( self.EscTab )
		self.m_notebook11.AddPage( self.EscTab, u"ESC", False )

		fgSizer21.Add( self.m_notebook11, 1, wx.EXPAND |wx.ALL, 5 )


		fgSizer14.Add( fgSizer21, 1, wx.EXPAND, 5 )

		fgSizer11 = wx.FlexGridSizer( 4, 2, 0, 0 )
		fgSizer11.SetFlexibleDirection( wx.BOTH )
		fgSizer11.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		fgSizer1112 = wx.FlexGridSizer( 2, 2, 0, 0 )
		fgSizer1112.SetFlexibleDirection( wx.BOTH )
		fgSizer1112.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.Session_button = wx.Button( self.诊断页, wx.ID_ANY, u"模式", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer1112.Add( self.Session_button, 0, wx.ALL, 5 )

		session_choiceChoices = [ u"1" ]
		self.session_choice = wx.Choice( self.诊断页, wx.ID_ANY, wx.DefaultPosition, wx.Size( 100,-1 ), session_choiceChoices, 0 )
		self.session_choice.SetSelection( 0 )
		fgSizer1112.Add( self.session_choice, 0, wx.ALL, 5 )


		fgSizer11.Add( fgSizer1112, 1, wx.EXPAND, 5 )

		fgSizer111311 = wx.FlexGridSizer( 2, 2, 0, 0 )
		fgSizer111311.SetFlexibleDirection( wx.BOTH )
		fgSizer111311.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.Clear_dtc_button = wx.Button( self.诊断页, wx.ID_ANY, u"清故障码", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer111311.Add( self.Clear_dtc_button, 0, wx.ALL, 5 )

		m_choice4211Choices = [ u"1", u"2" ]
		self.m_choice4211 = wx.Choice( self.诊断页, wx.ID_ANY, wx.DefaultPosition, wx.Size( -1,-1 ), m_choice4211Choices, 0 )
		self.m_choice4211.SetSelection( 0 )
		fgSizer111311.Add( self.m_choice4211, 0, wx.ALL, 5 )


		fgSizer11.Add( fgSizer111311, 1, wx.EXPAND, 5 )

		fgSizer1113 = wx.FlexGridSizer( 2, 3, 0, 0 )
		fgSizer1113.SetFlexibleDirection( wx.BOTH )
		fgSizer1113.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.Routine_button = wx.Button( self.诊断页, wx.ID_ANY, u"Routine", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer1113.Add( self.Routine_button, 0, wx.ALL, 5 )

		Routine_choiceChoices = [ u"1" ]
		self.Routine_choice = wx.Choice( self.诊断页, wx.ID_ANY, wx.DefaultPosition, wx.Size( 100,-1 ), Routine_choiceChoices, 0 )
		self.Routine_choice.SetSelection( 0 )
		fgSizer1113.Add( self.Routine_choice, 0, wx.ALL, 5 )

		self.RotineStartCheckBox = wx.CheckBox( self.诊断页, wx.ID_ANY, u"启停", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.RotineStartCheckBox.SetValue(True)
		fgSizer1113.Add( self.RotineStartCheckBox, 0, wx.ALL, 5 )


		fgSizer11.Add( fgSizer1113, 1, wx.EXPAND, 5 )

		fgSizer11131 = wx.FlexGridSizer( 2, 2, 0, 0 )
		fgSizer11131.SetFlexibleDirection( wx.BOTH )
		fgSizer11131.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.读故障按键 = wx.Button( self.诊断页, wx.ID_ANY, u"读故障码", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer11131.Add( self.读故障按键, 0, wx.ALL, 5 )

		m_choice421Choices = [ u"1", u"2" ]
		self.m_choice421 = wx.Choice( self.诊断页, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, m_choice421Choices, 0 )
		self.m_choice421.SetSelection( 0 )
		fgSizer11131.Add( self.m_choice421, 0, wx.ALL, 5 )


		fgSizer11.Add( fgSizer11131, 1, wx.EXPAND, 5 )

		fgSizer1113111 = wx.FlexGridSizer( 2, 2, 0, 0 )
		fgSizer1113111.SetFlexibleDirection( wx.BOTH )
		fgSizer1113111.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.Read_info_button = wx.Button( self.诊断页, wx.ID_ANY, u"读信息", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer1113111.Add( self.Read_info_button, 0, wx.ALL, 5 )

		Read_info_choiceChoices = [ u"1", u"2" ]
		self.Read_info_choice = wx.Choice( self.诊断页, wx.ID_ANY, wx.DefaultPosition, wx.Size( 100,-1 ), Read_info_choiceChoices, 0 )
		self.Read_info_choice.SetSelection( 0 )
		fgSizer1113111.Add( self.Read_info_choice, 0, wx.ALL, 5 )


		fgSizer11.Add( fgSizer1113111, 1, wx.EXPAND, 5 )

		fgSizer111 = wx.FlexGridSizer( 2, 2, 0, 0 )
		fgSizer111.SetFlexibleDirection( wx.BOTH )
		fgSizer111.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.UnlockEcuBt = wx.Button( self.诊断页, wx.ID_ANY, u"解锁控制器", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer111.Add( self.UnlockEcuBt, 0, wx.ALL, 5 )

		m_choice4Choices = [ u"1", u"2" ]
		self.m_choice4 = wx.Choice( self.诊断页, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, m_choice4Choices, 0 )
		self.m_choice4.SetSelection( 0 )
		fgSizer111.Add( self.m_choice4, 0, wx.ALL, 5 )


		fgSizer11.Add( fgSizer111, 1, wx.EXPAND, 5 )

		fgSizer11131111 = wx.FlexGridSizer( 2, 1, 0, 0 )
		fgSizer11131111.SetFlexibleDirection( wx.BOTH )
		fgSizer11131111.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		fgSizer22 = wx.FlexGridSizer( 0, 2, 0, 0 )
		fgSizer22.SetFlexibleDirection( wx.BOTH )
		fgSizer22.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.Flash_button = wx.Button( self.诊断页, wx.ID_ANY, u"软件刷写", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer22.Add( self.Flash_button, 0, wx.ALL, 5 )

		self.filePicker_FlashConfig = wx.FilePickerCtrl( self.诊断页, wx.ID_ANY, wx.EmptyString, u"Select a file", u"*.*", wx.DefaultPosition, wx.DefaultSize, wx.FLP_DEFAULT_STYLE )
		fgSizer22.Add( self.filePicker_FlashConfig, 0, wx.ALL, 5 )


		fgSizer11131111.Add( fgSizer22, 1, wx.EXPAND, 5 )

		fgSizer221 = wx.FlexGridSizer( 2, 1, 0, 0 )
		fgSizer221.SetFlexibleDirection( wx.BOTH )
		fgSizer221.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )


		fgSizer11131111.Add( fgSizer221, 1, wx.EXPAND, 5 )


		fgSizer11.Add( fgSizer11131111, 1, wx.EXPAND, 5 )

		fgSizer111312 = wx.FlexGridSizer( 2, 2, 0, 0 )
		fgSizer111312.SetFlexibleDirection( wx.BOTH )
		fgSizer111312.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.复位 = wx.Button( self.诊断页, wx.ID_ANY, u"复位", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer111312.Add( self.复位, 0, wx.ALL, 5 )

		m_choice4212Choices = [ u"1", u"2" ]
		self.m_choice4212 = wx.Choice( self.诊断页, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, m_choice4212Choices, 0 )
		self.m_choice4212.SetSelection( 0 )
		fgSizer111312.Add( self.m_choice4212, 0, wx.ALL, 5 )


		fgSizer11.Add( fgSizer111312, 1, wx.EXPAND, 5 )


		fgSizer14.Add( fgSizer11, 1, wx.EXPAND, 5 )


		self.诊断页.SetSizer( fgSizer14 )
		self.诊断页.Layout()
		fgSizer14.Fit( self.诊断页 )
		self.m_notebook1.AddPage( self.诊断页, u"诊断", False )

		fgSizer34.Add( self.m_notebook1, 1, wx.EXPAND |wx.ALL, 5 )

		self.m_panel8 = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		fgSizer361 = wx.FlexGridSizer( 2, 1, 0, 0 )
		fgSizer361.SetFlexibleDirection( wx.BOTH )
		fgSizer361.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.m_staticText31 = wx.StaticText( self.m_panel8, wx.ID_ANY, u"报文", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText31.Wrap( -1 )

		fgSizer361.Add( self.m_staticText31, 0, wx.ALL, 5 )

		self.m_textCtrl1_message = wx.TextCtrl( self.m_panel8, wx.ID_ANY, u"asda\nasd\nasd\nasd", wx.DefaultPosition, wx.Size( 200,-1 ), wx.HSCROLL|wx.TE_MULTILINE )
		fgSizer361.Add( self.m_textCtrl1_message, 0, wx.ALL, 5 )


		self.m_panel8.SetSizer( fgSizer361 )
		self.m_panel8.Layout()
		fgSizer361.Fit( self.m_panel8 )
		fgSizer34.Add( self.m_panel8, 1, wx.EXPAND |wx.ALL, 5 )

		self.m_panel5 = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		fgSizer7 = wx.FlexGridSizer( 2, 1, 0, 0 )
		fgSizer7.SetFlexibleDirection( wx.BOTH )
		fgSizer7.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		fgSizer223 = wx.FlexGridSizer( 0, 3, 0, 0 )
		fgSizer223.SetFlexibleDirection( wx.BOTH )
		fgSizer223.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.Flash_button1 = wx.Button( self.m_panel5, wx.ID_ANY, u"清空", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer223.Add( self.Flash_button1, 0, wx.ALL, 5 )

		self.filePicker_DbcFile = wx.FilePickerCtrl( self.m_panel5, wx.ID_ANY, wx.EmptyString, u"选择DBC文件", u"*.dbc", wx.DefaultPosition, wx.DefaultSize, wx.FLP_DEFAULT_STYLE )
		fgSizer223.Add( self.filePicker_DbcFile, 0, wx.ALL, 5 )

		self.m_checkBox_log = wx.CheckBox( self.m_panel5, wx.ID_ANY, u"记录", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer223.Add( self.m_checkBox_log, 0, wx.ALL, 5 )


		fgSizer7.Add( fgSizer223, 1, wx.EXPAND, 5 )

		fgSizer33 = wx.FlexGridSizer( 1, 4, 0, 0 )
		fgSizer33.SetFlexibleDirection( wx.BOTH )
		fgSizer33.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		fgSizer36 = wx.FlexGridSizer( 2, 1, 0, 0 )
		fgSizer36.SetFlexibleDirection( wx.BOTH )
		fgSizer36.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.m_staticText3 = wx.StaticText( self.m_panel5, wx.ID_ANY, u"过滤ID", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText3.Wrap( -1 )

		fgSizer36.Add( self.m_staticText3, 0, wx.ALL, 5 )

		self.m_textCtrl_filter_id = wx.TextCtrl( self.m_panel5, wx.ID_ANY, u"asda\n\nasd\n730", wx.DefaultPosition, wx.Size( 60,200 ), wx.HSCROLL|wx.TE_MULTILINE )
		fgSizer36.Add( self.m_textCtrl_filter_id, 0, wx.ALL, 5 )


		fgSizer33.Add( fgSizer36, 1, wx.EXPAND, 5 )

		fgSizer40 = wx.FlexGridSizer( 2, 0, 0, 0 )
		fgSizer40.SetFlexibleDirection( wx.BOTH )
		fgSizer40.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.m_staticText32 = wx.StaticText( self.m_panel5, wx.ID_ANY, u"Dbc解析", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText32.Wrap( -1 )

		fgSizer40.Add( self.m_staticText32, 0, wx.ALL, 5 )

		信号显示 = wx.FlexGridSizer( 0, 2, 0, 0 )
		信号显示.SetFlexibleDirection( wx.BOTH )
		信号显示.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.m_treeCtrl_dbc = wx.TreeCtrl( self.m_panel5, wx.ID_ANY, wx.DefaultPosition, wx.Size( 250,200 ), wx.TR_DEFAULT_STYLE|wx.HSCROLL|wx.VSCROLL )
		信号显示.Add( self.m_treeCtrl_dbc, 0, wx.ALL, 5 )

		self.m_dataViewListCtrl_signal_data = wx.dataview.DataViewListCtrl( self.m_panel5, wx.ID_ANY, wx.DefaultPosition, wx.Size( 250,200 ), 0|wx.HSCROLL|wx.VSCROLL )
		信号显示.Add( self.m_dataViewListCtrl_signal_data, 0, wx.ALL, 5 )


		fgSizer40.Add( 信号显示, 1, wx.EXPAND, 5 )


		fgSizer33.Add( fgSizer40, 1, wx.EXPAND, 5 )


		fgSizer7.Add( fgSizer33, 1, wx.EXPAND, 5 )


		self.m_panel5.SetSizer( fgSizer7 )
		self.m_panel5.Layout()
		fgSizer7.Fit( self.m_panel5 )
		fgSizer34.Add( self.m_panel5, 1, wx.EXPAND |wx.ALL, 5 )

		self.m_panel7 = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		fgSizer3611 = wx.FlexGridSizer( 2, 1, 0, 0 )
		fgSizer3611.SetFlexibleDirection( wx.BOTH )
		fgSizer3611.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )

		self.m_staticText311 = wx.StaticText( self.m_panel7, wx.ID_ANY, u"故障码", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText311.Wrap( -1 )

		fgSizer3611.Add( self.m_staticText311, 0, wx.ALL, 5 )

		self.m_textCtrl1_message1 = wx.TextCtrl( self.m_panel7, wx.ID_ANY, u"asda\nasd\nasd\nasd", wx.DefaultPosition, wx.DefaultSize, wx.HSCROLL|wx.TE_MULTILINE )
		fgSizer3611.Add( self.m_textCtrl1_message1, 0, wx.ALL, 5 )


		self.m_panel7.SetSizer( fgSizer3611 )
		self.m_panel7.Layout()
		fgSizer3611.Fit( self.m_panel7 )
		fgSizer34.Add( self.m_panel7, 1, wx.EXPAND |wx.ALL, 5 )


		self.SetSizer( fgSizer34 )
		self.Layout()
		self.m_statusBar1 = self.CreateStatusBar( 3, wx.STB_SIZEGRIP, wx.ID_ANY )

		self.Centre( wx.BOTH )

		# Connect Events
		self.Bind( wx.EVT_CLOSE, self.UiClose )
		self.Bind( wx.EVT_SHOW, self.InitUI )
		self.CAN卡.Bind( wx.EVT_CHOICE, self.SetCan )
		self.m_button_open_can.Bind( wx.EVT_BUTTON, self.OpenCan )
		self.TestButton.Bind( wx.EVT_BUTTON, self.Test )
		self.TestButton1.Bind( wx.EVT_BUTTON, self.TestHw )
		self.公司.Bind( wx.EVT_CHOICE, self.OnSelectCompany )
		self.车型.Bind( wx.EVT_CHOICE, self.OnSelectCompany )
		self.控制器.Bind( wx.EVT_CHOICE, self.OnSelectCompany )
		self.m_notebook11.Bind( wx.EVT_NOTEBOOK_PAGE_CHANGED, self.EcuChanged )
		self.UnlockEcuBt1.Bind( wx.EVT_BUTTON, self.UnlockEcu )
		self.filePicker_EpsApp.Bind( wx.EVT_FILEPICKER_CHANGED, self.EpsAppSelect )
		self.session1.Bind( wx.EVT_BUTTON, self.b_test )
		self.session11.Bind( wx.EVT_BUTTON, self.b_test )
		self.filePicker_EscConfig.Bind( wx.EVT_FILEPICKER_CHANGED, self.EscBootSelect )
		self.filePicker_EscBoot.Bind( wx.EVT_FILEPICKER_CHANGED, self.EscBootSelect )
		self.filePicker_EscApp.Bind( wx.EVT_FILEPICKER_CHANGED, self.EscAppSelect )
		self.Session_button.Bind( wx.EVT_BUTTON, self.OnSession )
		self.Clear_dtc_button.Bind( wx.EVT_BUTTON, self.OnClearDtcButton )
		self.Routine_button.Bind( wx.EVT_BUTTON, self.OnRoutineButtonClick )
		self.读故障按键.Bind( wx.EVT_BUTTON, self.ReadDtc )
		self.Read_info_button.Bind( wx.EVT_BUTTON, self.OnReadInfoButton )
		self.UnlockEcuBt.Bind( wx.EVT_BUTTON, self.UnlockEcu )
		self.Flash_button.Bind( wx.EVT_BUTTON, self.OnFlashButtonClick )
		self.filePicker_FlashConfig.Bind( wx.EVT_FILEPICKER_CHANGED, self.FlashConfigSelect )
		self.复位.Bind( wx.EVT_BUTTON, self.EcuReset )
		self.Flash_button1.Bind( wx.EVT_BUTTON, self.OnFlashButtonClick )
		self.filePicker_DbcFile.Bind( wx.EVT_FILEPICKER_CHANGED, self.DbcFileSelected )
		self.m_checkBox_log.Bind( wx.EVT_CHECKBOX, self.StartLog )
		self.m_treeCtrl_dbc.Bind( wx.EVT_TREE_ITEM_ACTIVATED, self.OnDBC_signal_d_click )

	def __del__( self ):
		pass


	# Virtual event handlers, overide them in your derived class
	def UiClose( self, event ):
		event.Skip()

	def InitUI( self, event ):
		event.Skip()

	def SetCan( self, event ):
		event.Skip()

	def OpenCan( self, event ):
		event.Skip()

	def Test( self, event ):
		event.Skip()

	def TestHw( self, event ):
		event.Skip()

	def OnSelectCompany( self, event ):
		event.Skip()



	def EcuChanged( self, event ):
		event.Skip()

	def UnlockEcu( self, event ):
		event.Skip()

	def EpsAppSelect( self, event ):
		event.Skip()

	def b_test( self, event ):
		event.Skip()


	def EscBootSelect( self, event ):
		event.Skip()


	def EscAppSelect( self, event ):
		event.Skip()

	def OnSession( self, event ):
		event.Skip()

	def OnClearDtcButton( self, event ):
		event.Skip()

	def OnRoutineButtonClick( self, event ):
		event.Skip()

	def ReadDtc( self, event ):
		event.Skip()

	def OnReadInfoButton( self, event ):
		event.Skip()


	def OnFlashButtonClick( self, event ):
		event.Skip()

	def FlashConfigSelect( self, event ):
		event.Skip()

	def EcuReset( self, event ):
		event.Skip()


	def DbcFileSelected( self, event ):
		event.Skip()

	def StartLog( self, event ):
		event.Skip()

	def OnDBC_signal_d_click( self, event ):
		event.Skip()


